## API Report File for "@backstage/plugin-jenkins"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
/// <reference types="react" />

import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import type { CompoundEntityRef } from '@backstage/catalog-model';
import { DiscoveryApi } from '@backstage/core-plugin-api';
import { Entity } from '@backstage/catalog-model';
import { IdentityApi } from '@backstage/core-plugin-api';
import { InfoCardVariants } from '@backstage/core-components';
import { JSX as JSX_2 } from 'react';
import { default as React_2 } from 'react';
import { RouteRef } from '@backstage/core-plugin-api';
import { TableColumn } from '@backstage/core-components';

// @public (undocumented)
export const EntityJenkinsContent: (props: {
  columns?: TableColumn<Project>[] | undefined;
}) => JSX_2.Element;

// @public (undocumented)
export const EntityJobRunsTable: () => JSX_2.Element;

// @public (undocumented)
export const EntityLatestJenkinsRunCard: (props: {
  branch: string;
  variant?: InfoCardVariants | undefined;
}) => JSX_2.Element;

// @public (undocumented)
const isJenkinsAvailable: (entity: Entity) => boolean;
export { isJenkinsAvailable };
export { isJenkinsAvailable as isPluginApplicableToEntity };

// Warning: (ae-missing-release-tag) "JENKINS_ANNOTATION" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const JENKINS_ANNOTATION = 'jenkins.io/job-full-name';

// Warning: (ae-missing-release-tag) "JenkinsApi" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface JenkinsApi {
  // Warning: (ae-forgotten-export) The symbol "Build" needs to be exported by the entry point index.d.ts
  getBuild(options: {
    entity: CompoundEntityRef;
    jobFullName: string;
    buildNumber: string;
  }): Promise<Build>;
  // Warning: (ae-forgotten-export) The symbol "Job" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  getJobBuilds(options: {
    entity: CompoundEntityRef;
    jobFullName: string;
  }): Promise<Job>;
  getProjects(options: {
    entity: CompoundEntityRef;
    filter: {
      branch?: string;
    };
  }): Promise<Project[]>;
  // (undocumented)
  retry(options: {
    entity: CompoundEntityRef;
    jobFullName: string;
    buildNumber: string;
  }): Promise<void>;
}

// Warning: (ae-missing-release-tag) "jenkinsApiRef" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const jenkinsApiRef: ApiRef<JenkinsApi>;

// Warning: (ae-missing-release-tag) "JenkinsClient" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class JenkinsClient implements JenkinsApi {
  constructor(options: {
    discoveryApi: DiscoveryApi;
    identityApi: IdentityApi;
  });
  // (undocumented)
  getBuild(options: {
    entity: CompoundEntityRef;
    jobFullName: string;
    buildNumber: string;
  }): Promise<Build>;
  // (undocumented)
  getJobBuilds(options: {
    entity: CompoundEntityRef;
    jobFullName: string;
  }): Promise<Job>;
  // (undocumented)
  getProjects(options: {
    entity: CompoundEntityRef;
    filter: {
      branch?: string;
    };
  }): Promise<Project[]>;
  // (undocumented)
  retry(options: {
    entity: CompoundEntityRef;
    jobFullName: string;
    buildNumber: string;
  }): Promise<void>;
}

// @public (undocumented)
const jenkinsPlugin: BackstagePlugin<
  {
    entityContent: RouteRef<undefined>;
  },
  {}
>;
export { jenkinsPlugin };
export { jenkinsPlugin as plugin };

// Warning: (ae-missing-release-tag) "LatestRunCard" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const LatestRunCard: (props: {
  branch: string;
  variant?: InfoCardVariants;
}) => React_2.JSX.Element;

// Warning: (ae-missing-release-tag) "LEGACY_JENKINS_ANNOTATION" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const LEGACY_JENKINS_ANNOTATION = 'jenkins.io/github-folder';

// @public (undocumented)
export interface Project {
  // (undocumented)
  displayName: string;
  // (undocumented)
  fullDisplayName: string;
  // (undocumented)
  fullName: string;
  // (undocumented)
  inQueue: string;
  // (undocumented)
  lastBuild: Build;
  // (undocumented)
  onRestartClick: () => Promise<void>;
  // (undocumented)
  status: string;
}

// Warning: (ae-missing-release-tag) "Router" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const Router: (props: {
  columns?: TableColumn<Project>[];
}) => React_2.JSX.Element;
```
